<form id="import-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">{:__('项目名称')}:</label>
      <div class="col-xs-12 col-sm-8">
          <input id="c-project_id" class="form-control" name="project_id" type="hidden" value="{$info.id}">
          {$info.project_name}
      </div>
  </div>
	<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-file" class="form-control" size="50" name="file" type="text" data-rule="required">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file" data-url="ajax/upload" data-mimetype="csv,xlsx,xls,xml"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <!-- <span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false" data-mimetype="application/*"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
                </div>
                <span class="msg-box n-right" for="c-file"></span>
            </div>
            <span class="help-block">
              目前已匹配:1.新标杆 [人材机表];2.广联达 [人材机表];<br>
              除税市场价 读取标题为“{:implode('”或“',$excelTitleMapping.unit_price)}” 列数据<br>
              含税市场价 读取标题为“{:implode('”或“',$excelTitleMapping.tax_unit_price)}”列数据<br>
            </span>
            <ul class="row list-inline faupload-preview" id="p-file"></ul>
        </div>
    </div>
    <div class="tab-content">
        <div class="tab-pane fade active in">
          <div class="tab-pane fade active in" id="wechat">
            <table class="table table-striped table-config" id="normaledit">
              <tbody>
              <tr>
                <td>Excel行号</td>
                <!-- <td>项目名称</td> -->
                <td>{:__('Catename')}</td>
                <td>{:__('Code')}</td>
                <td>{:__('Name')}</td>
                <td>{:__('Description')}</td>
                <td>{:__('Unit')}</td>
                <td>{:__('Quantity')}</td>
                <td>{:__('Unit_price')}</td>
                <td>{:__('Total_price')}</td>
                <td>{:__('Tax')}</td>
                <td>{:__('Tax_unit_price')}</td>
                <td>{:__('Tax_total_price')}</td>
                <td>{:__('Brandname')}</td>
                <td>{:__('Suppliername')}</td>
                <td>{:__('Price_source')}</td>
              </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
	
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" id="import-submit" class="btn btn-success btn-embossed disabled">{:__('Import')}</button>
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
